home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / lib / gcc-lib / i486-unknown-sco3.2v5.0.0elf / 2.6-95q2 / include / oldstyle / string.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-12  |  2.7 KB  |  89 lines

  1. /*
  2.  *   Portions Copyright (C) 1983-1995 The Santa Cruz Operation, Inc.
  3.  *        All Rights Reserved.
  4.  *
  5.  *    The information in this file is provided for the exclusive use of
  6.  *    the licensees of The Santa Cruz Operation, Inc.  Such users have the
  7.  *    right to use, modify, and incorporate this code into other products
  8.  *    for purposes authorized by the license agreement provided they include
  9.  *    this notice and the associated copyright notice with any such product.
  10.  *    The information in this file is provided "AS IS" without warranty.
  11.  */
  12.  
  13. /*    Portions Copyright (c) 1990, 1991, 1992, 1993 UNIX System Laboratories, Inc. */
  14. /*    Portions Copyright (c) 1979 - 1990 AT&T   */
  15. /*      All Rights Reserved   */
  16.  
  17. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF          */
  18. /*    UNIX System Laboratories, Inc.                          */
  19. /*    The copyright notice above does not evidence any        */
  20. /*    actual or intended publication of such source code.     */
  21.  
  22. #ifndef _STRING_H
  23. #ifndef _PARAMS
  24. #if defined(__STDC__) || defined(__cplusplus)
  25. #define _PARAMS(ARGS) ARGS
  26. #else
  27. #define _PARAMS(ARGS) ()
  28. #endif
  29. #endif /* _PARAMS */
  30. #define _STRING_H
  31.  
  32. #ident "oldstyle @(#) string.h 20.1 94/12/04 "
  33.  
  34.  
  35. #ifndef _SIZE_T
  36. #define _SIZE_T
  37. typedef unsigned int    size_t;
  38. #endif
  39.  
  40. #ifndef NULL
  41. #define NULL    0
  42. #endif /* NULL */
  43.  
  44.  
  45.  
  46. extern char
  47.     *strcpy _PARAMS((char *, const char *)),
  48.     *strncpy _PARAMS((char *, const char *, __SIZE_TYPE__ )),
  49.     *strcat _PARAMS((char *, const char *)),
  50.     *strncat _PARAMS((char *, const char *, __SIZE_TYPE__ )),
  51.     *strchr _PARAMS((const char *, int)),
  52.     *strrchr _PARAMS((const char *, int)),
  53.     *strpbrk _PARAMS((const char *, const char *)),
  54.     *strtok _PARAMS((char *, const char *)),
  55.     *strtok_r(),
  56.     *strdup(),
  57.     *strstr _PARAMS((const char *, const char *)),
  58.     *strerror _PARAMS((int)),
  59.     *strlist();
  60.  
  61. extern int
  62.     strcmp _PARAMS((const char *, const char *)),
  63.     strncmp _PARAMS((const char *, const char *, __SIZE_TYPE__ )),
  64.     strcoll _PARAMS((const char *, const char *)),
  65. /* Made int for _SVID compliance */
  66.     strlen _PARAMS((const char *)),
  67.     strspn _PARAMS((const char *, const char *)),
  68.     strcspn _PARAMS((const char *, const char *));
  69. extern size_t
  70.     strxfrm _PARAMS((char *, const char *, __SIZE_TYPE__ ));
  71. extern char
  72.     *memccpy _PARAMS((void *, const void *, int, __SIZE_TYPE__ )),
  73.     *memchr _PARAMS((const void *, int, __SIZE_TYPE__ )),
  74.     *memcpy _PARAMS((void *, const void *, __SIZE_TYPE__ )),
  75.     *memmove _PARAMS((void *, const void *, __SIZE_TYPE__ )),
  76.     *memset _PARAMS((void *, int, __SIZE_TYPE__ ));
  77. extern int memcmp _PARAMS((const void *, const void *, __SIZE_TYPE__ ));
  78.  
  79. extern void perror _PARAMS((const char *));
  80. extern char *strdup _PARAMS((const char *));
  81. extern int     strncoll();
  82. extern size_t  strnxfrm();
  83. extern int nl_strcmp();
  84. extern int nl_strncmp();
  85.  
  86.  
  87.  
  88. #endif /* _STRING_H */
  89.